﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Way:Person
    {
        public Way()
        {

        }
        public Way(string name) : base(name)
        {

        }
        public override string Action()
        {
            Random random = new Random();
            int num = random.Next(1, 4);
            switch (num)
            {
                case 1:
                    return "剪刀";
                case 2:
                    return "石头";
                case 3:
                    return "布";
            }
            return "";
        }
    }
}
